package edu.dali.enterprise_test.model.vo;

import java.util.List;

public class UserInfo {
    private long uid;//用户id.

    private String username;//账号.

    private String name;//名称，昵称或者姓名.

    private String password;//密码.
    private String salt;//密码加密的盐. 主要加强密码的安全性.

    private int state;//用户状态，0：创建用户；1：正常；2：用户被锁定了.

    private String storeno;

    private List<SysRole> roles;

    public long getUid() {
        return uid;
    }

    public void setUid(long uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public List<SysRole> getRoles() {
        return roles;
    }

    public void setRoles(List<SysRole> roles) {
        this.roles = roles;
    }

    public String getStoreno() {
        return storeno;
    }

    public void setStoreno(String storeno) {
        this.storeno = storeno;
    }
}
